<template>
	<view class="page_count">
		<!-- <view class="bg-img">
			<img :src="bgColor" alt="">
		</view> -->
		<!--搜索-->
		<view :class="{scrolled:isScrolled}" class="my-main">	
			<!-- #ifdef H5 -->
			<view>
				<view class="header">
					<view class="sys-head tui-skeleton" :style="{ height: statusBarHeight }"></view>
					<view class="serch-box tui-skeleton">
						<view class="serch-wrapper flex">
							<view v-if="logoConfig || site_logo" class="logo skeleton-rect"><image :src="logoConfig || site_logo" mode="widthFix"></image></view>
							<navigator v-if="hotWords.length > 0" :url="'/pages/columnGoods/goods_search/index?searchVal='+searchVal" :class="(logoConfig || site_logo) ? 'input' : 'uninput'"
							hover-class="none" class="skeleton-rect box">
								<view class='swiperTxt'>
									<swiper :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration" vertical="true"
									 circular="true" @change="textChange">
										<block v-for="(item,index) in hotWords" :key='index'>
											<swiper-item catchtouchmove='catchTouchMove'>
												<view class='acea-row row-between-wrapper'>
													<view class='text acea-row row-between-wrapper'>
														<view class='newsTitle line1'>{{item.val}}</view>
													</view>
												</view>
											</swiper-item>
										</block>
									</swiper>
								</view>
								<text class="iconfont icon-xiazai5"></text>
							</navigator>
							<navigator v-else url="/pages/columnGoods/goods_search/index" :class="(logoConfig || site_logo) ? 'input' : 'uninput'" 
							hover-class="none" class="skeleton-rect">
								搜索商品
								<text class="iconfont icon-xiazai5"></text>
							</navigator>
							<navigator class="btn skeleton-rect" url="/pages/chat/customer_list/index?type=0" hover-class="none">
								<view class="iconfont icon-xiaoxi" style="color:#fff;"></view>
								<text class="iconnum" v-if="userInfo.total_unread">{{ userInfo.total_unread }}</text>
							</navigator>
						</view>
					</view>
				</view>
				<view :style="'height:'+isTop+'px'"></view>
			</view>
			<!-- #endif -->
			<!-- #ifdef MP || APP-PLUS -->
			<view>
				<view class="mp-header" id="home">
					<view class="sys-head tui-skeleton" :style="{ height: statusBarHeight }"></view>
					<view class="serch-box tui-skeleton" style="margin-top: 20rpx;">
						<view class="serch-wrapper flex">
							<!-- <view v-if="logoConfig || site_logo" class="logo skeleton-rect"><image :src="logoConfig || site_logo" mode="widthFix"></image></view> -->
							<view class="logo skeleton-rect line1"><image src="http://ly.jukee.net/uploads/default/20230702/359a2ad534e6df75b5680e04253a4010.png" /><picker mode='multiSelector' :range="rangeAddress" range-key="name" :value="rangeAddressValue" @columnchange="changeRangeAddress" @change="OnChangeAddress">{{locationAddress}}</picker></view>
							<view class="logo-img"><image src="http://ly.jukee.net/uploads/default/20230702/51f9ba64b21f2bcddc633843f51ba7f8.png" /></view>
						</view>
					</view>
					<view class="serch-box tui-skeleton" style="margin-top: 16rpx;">
						<view class="serch-wrapper flex">
							<view class="more_label" @click="is_label_list_popup = true">
								<image src="http://ly.jukee.net/uploads/def/20230702/920eb9be1322325a901e6c9256cfa999.png" style="width:50rpx;height:50rpx;position: relative;
    top: 10rpx;" />
								<view class="font-size32-bold" style="white-space: nowrap;">选行业</view>
							</view>
							<navigator v-if="hotWords.length > 0" :url="'/pages/columnGoods/goods_search/index?searchVal='+searchVal" :class="(logoConfig || site_logo) ? 'input' : 'uninput'"
							hover-class="none" class="skeleton-rect box" style="margin: 0 36rpx;">
								<text class="iconfont icon-xiazai5"></text>
								<view class='swiperTxt'>
									<swiper :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration" vertical="true"
									 circular="true" @change="textChange">
										<block v-for="(item,index) in hotWords" :key='index'>
											<swiper-item catchtouchmove='catchTouchMove'>
												<view class='acea-row row-between-wrapper'>
													<view class='text acea-row row-between-wrapper'>
														<view class='newsTitle line1'>{{item.val}}</view>
													</view>
												</view>
											</swiper-item>
										</block>
									</swiper>
								</view>
							</navigator>
							<navigator v-else url="/pages/columnGoods/goods_search/index" :class="(logoConfig || site_logo) ? 'input' : 'uninput'" 
							hover-class="none" class="skeleton-rect">
								<text class="iconfont icon-xiazai5"></text>
								搜索商品
							</navigator>
							<!-- <navigator class="more_label more_label_share" url="/pages/extends/user_recommend_desc/index" hover-class="none">
								<image src="https://img.jukee.net/def/582dd202404232145584021.png" />
								<view class="font-size32-bold" style="white-space: nowrap;">分享赚</view>
							</navigator> -->
							<view class="more_label more_label_share" @click="openAuto1">
								<image src="https://img.jukee.net/def/acf9a202412231744431871.gif" />
								<!-- <view class="font-size32-bold" style="white-space: nowrap;">我要获客</view> -->
							</view>
						</view>
					</view>
				</view>
				<!-- <view :style="'height:'+marTop+'px;'"></view> -->
			</view>
			<!-- #endif -->
			<!--选项卡-->
			<!-- <view style="visibility: hidden;" :style="{ height: navHeight + 'px' }"></view> -->
			<view class="navTabBox tabNav" :class="{bgwhite:isScrolled}" :style="'top:'+isTop+'px'">		
				<view class="longTab"> 
				 <!-- :style='"width:"+mainWidth+"px"' -->
					<scroll-view scroll-x="true" style="white-space: nowrap; display: flex;" scroll-with-animation :scroll-left="tabLeft" :scroll-into-view="'id'+tabId" show-scrollbar="true">
						<view class="longItem" :data-index="index" :class="tabId==item.label_id?'click':''" @click="changeTab(item, index)" v-for="(item,index) in labelList" :key="index" :id="'id'+item.label_id"><view class="longItem_val">
							<view>
								{{item.label_name}}
							</view>
							<!-- <view style="color: #ccc;font-size: 24rpx;">
								选精准客户
							</view> -->
						</view></view>
						<view class="underlineBox" :style='"transform:translateX("+isLeft+"px);width:"+isWidth+"px"'>
							<view class="underline"></view>
						</view>
					</scroll-view>
				</view>
				<!-- <view class="daohang_icon" @click="this.is_label_list_popup = true"><img :src="'https://ly.jukee.net/statics/system/santiaogang.png'" /></view> -->
			</view>
		</view>
		<!--轮播图-->
		<!-- <view class="swiperBg" :style="{ marginTop: swiperTop+'px'}">
			<block>
				<view class="swiper page_swiper" 
				 v-if="imgUrls.length">
					<swiper
					:autoplay="true" 
					:circular="circular"
					:interval="intervals" 
					:duration="duration" 
					indicator-color="rgba(255,255,255,0.6)" 
					indicator-active-color="#fff"
					:current="swiperCur"
					previous-margin="30rpx"
					next-margin="30rpx"
					@change="swiperChange"
					:class="{ scalex:isScale }"
					>
						<block v-for="(item,index) in imgUrls" :key="index">
							<swiper-item :class="{ active: index == swiperCur,scalex:isScale }">
								<view @click="goDetail(item)" class='slide-navigator acea-row row-between-wrapper'>
									<image :src="item.img" class="slide-image aa"></image>
								</view>
							</swiper-item>
						</block>
					</swiper>
					<view class="dots">  
						<block v-for="(item,index) in imgUrls" :key="index">  
								<view class="dot" :class="index == swiperCur ? ' active' : ''"></view>  
						</block>  
					</view>  
				</view>
			</block>
		</view> -->
		<!-- <view class="label_list" v-if="is_label_list_popup">
			<view class="label_list_content">
				<view class="label_list_title">
					<view>为你推荐</view>
				</view>
				<view class="label_list_data">
					<view class="label_list_item" v-for="(item, index) in labelList" :key="index" :class="tabId == item.label_id ? 'label_list_item_on' : ''" @click="changeTab(item)">{{item.label_name}}</view>
				</view>
			</view>
		</view> -->
		<labelListPopup :is_label_list_popup="is_label_list_popup" :labelList="labelList" :tabId="tabIdIndex" @onChangeTag="onChangeTag"></labelListPopup>
		<!-- <areaWindow ref="areaWindow" :display="display" :address="addressInfo"
			 @submit="OnChangeAddress" @changeClose="changeClose"></areaWindow> -->
	</view>
</template>

<script>
	let statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
	import { getCityV2 } from '@/api/api.js';
	import { configMap } from '@/utils';
	import labelListPopup from '@/components/labelListPopup'
	// import areaWindow from '@/components/areaWindow';
	const CACHE_ADDRESS = {};	
	export default {
		name: 'homeComb',
		props: {
			dataConfig: {
				type: Object,
				default: () => {}
			},
			isScrolled: {
				type: Boolean,
				default: false
			},
			isScale: {
				type: Boolean,
				default: false
			},
			isMenu: {
				type: Boolean,
				default: false
			},
			userInfo: {
				type: Object,
				default: () => {}
			},
			locationAddress: {
				type: String,
				default: '定位'
			},
			labelList: {
				type: Array,
				default: () => []
			},
			tabId: {
				type: Number,
				default: 0
			}
		},
		components: {
			labelListPopup,
			// areaWindow
		},
		computed: configMap({site_logo: ''}),
		data() {
			return {
				statusBarHeight: statusBarHeight,
				scrollHeight: 0,
				autoplay: true,
				interval: this.dataConfig.titleConfig.value * 1000 || 2500,
				duration: 500,
				marTop: 50,
				searchH: 0,
				logoConfig: this.dataConfig.logoConfig.url,
				hotWords: this.dataConfig.hotWords.list || [],
				tabClick: 0, //导航栏被点击
				isLeft: 0, //导航栏下划线位置
				isWidth: 0, //每个导航栏占位
				mainWidth: 0,
				tabLeft:0,
				swiperIndex:0,
				childIndex:0,
				childID:0,			
				tabTitle:this.dataConfig.listConfig.list,
				fixedTop: 0,
				isTop: 0,
				navHeight: 38,
				homeTop: 20,
				indicatorDots: false,
				circular: true,
				autoplay: true,
				intervals: 3000,
				duration: 500,
				imgUrls: [], //图片轮播数据
				imageH: 310,
				swiperCur: 0,
				swiperType: 1,
				searchVal: this.dataConfig.hotWords && this.dataConfig.hotWords.list[0]['val'] || '',
				bgColor: this.dataConfig.swiperConfig.list.length && this.dataConfig.swiperConfig.list[0]['img'],
				isCategory: false,
				swiperTop: 0,
				isFixed: true,
				is_label_list_popup: false,
				customerIndustryId: '',
				tabIdIndex: 0,
				display: false, // 地址弹窗显示
				addressInfo:[], // 选择地址
				userAddress: {
					is_default: false
				}, //地址详情
				region: ['省', '市', '区'],
				is_loading: false,
				addressList: [],
				rangeAddress: [
					[{id: '',name:'请选择'}],
					[{id: '',name:'请选择'}],
					[{id: '',name:'请选择'}]
				],
				rangeAddressValue: [0, 0, 0],
			};
		},
		watch: {
			imageH(nVal, oVal) {
				let self = this
				this.imageH = nVal
			},
		},
		created() {
			var that = this
			// 获取设备宽度
			uni.getSystemInfo({
				success(e) {					
					that.mainWidth = e.windowWidth
					that.isWidth = (e.windowWidth-65) / 8 
				}
			})
			setTimeout((e) => {
				const query = uni.createSelectorQuery().in(this);
				query.select('.navTabBox').boundingClientRect(data => {
					// that.navHeight = data.height
					that.navHeight = data.height > 42 ? data.height : 42
				}).exec();
				// #ifdef H5
				query.select('.header').boundingClientRect(data => {
					that.isTop = data.height
					that.marTop = data.height
				}).exec();
				// #endif
				// #ifdef MP || APP-PLUS
				// #ifdef APP-PLUS
				const menuButton = 0
				//#endif
				// #ifdef MP
				const menuButton = uni.getMenuButtonBoundingClientRect();
				//#endif
				query
					.select('.mp-header')
					.boundingClientRect(data => {
						this.homeTop = menuButton.top * 2 + menuButton.height - data.height;
						this.marTop = data.height
					}).exec();
				//#endif
			}, 100)
			that.isTop = (uni.getSystemInfoSync().statusBarHeight + 43)
			that.imgUrls = that.dataConfig.swiperConfig.list
			that.$nextTick(function() {
				setTimeout((e) => {
					// #ifdef H5
					that.swiperTop = that.navHeight+that.marTop+(uni.getSystemInfoSync().statusBarHeight)
					//#endif
					// #ifdef MP
					that.swiperTop = that.navHeight+that.marTop
					// that.swiperTop = that.navHeight + that.marTop + 20
					//#endif
					// #ifdef APP-PLUS
					that.swiperTop = uni.getSystemInfoSync().statusBarHeight + 50 + 30
					//#endif
				}, 500)
			})
			that.customerIndustryId = that.$Cache.get('customerIndustry');
		},
		mounted(){
			let that = this;
			if(that.tabTitle[0]['value'] != '推荐'){
				that.tabTitle.unshift({
					img: '',
					info: [{value: "推荐"},{value: false}]
				})
			}	
			if(that.imgUrls.length){
				that.$nextTick(function() {
					uni.getImageInfo({
						src: that.setDomain(that.imgUrls[0].img),
						success: function(res) {
							that.$set(that, 'imageH', res.height);
						},
						fail: function(error) {
							that.$set(that, 'imageH', 310);
							console.log(error, 'error')
						}
					})
				})
			}
			this.loadAddress(0)
		},
		methods: {
			onChangeTag(item) {
				let that = this,
				index = item.index;
				this.is_label_list_popup = false;
				if(this.tabIdIndex == index) return false;
				this.tabIdIndex = index;
				// this.$emit('changeDiy', that.labelList[index].label_id);
				this.$emit('changeDiy', {
					label_id: that.labelList[index].label_id,
					tabIdIndex: index
				});
			},
			/* getLocationAddress() {
				this.$emit('getLocationAddress')
			}, */
			OnChangeAddress(e){
				let value = e.detail.value;
				if(!value[0]) return this.$util.Tips({
					title: '请选择省市区'
				});
				 // || !value[1] || !value[2]
				let rangeAddress = this.rangeAddress;
				let address = [
					rangeAddress[0][value[0]],
					value[1] ? rangeAddress[1][value[1]] : '',
					value[2] ? rangeAddress[2][value[2]] : '',
				]
				let userAddress = this.$Cache.get('userAddress', true)
				if(userAddress && userAddress.province) {
					userAddress.province = address[0].name;
					userAddress.city = address[1].name;
					userAddress.district = address[2].name;
				} else {
					userAddress = {
						province: address[0].name,
						city: address[1].name,
						district: address[2].name
					}
				}
				this.$Cache.set('userAddress', userAddress);
				this.$emit('changeAddress');
			},
			openAuto1() {
				this.$emit('openAuto1');
			},
			// 关闭地址弹窗；
			changeClose: function() {
				this.display = false;
			},
			goDetail(url){
				let urls = url.info[1].value
				if(urls.indexOf("http") != -1){
					// #ifdef H5
					location.href = urls
					// #endif
				}else{
					if(['/pages/goods_cate/goods_cate','/pages/order_addcart/order_addcart','/pages/user/index','/pages/plant_grass/index'].indexOf(urls) == -1){
						uni.navigateTo({
							url:urls
						})
					}else{
						uni.switchTab({
							url:urls
						})
					}
				}
			},
			//替换安全域名
			setDomain: function(url) {
				url = url ? url.toString() : '';
				//本地调试打开,生产请注销
				if (url.indexOf("https://") > -1) return url;
				else return url.replace('http://', 'https://');
			},
			swiperChange(e) {
				let { current, source } = e.detail;
				if (source === 'autoplay' || source === 'touch') {
					this.swiperCur = e.detail.current;
					this.bgColor = this.imgUrls[e.detail.current]['img']
				}
			},
			textChange(e) {
				let { current, source } = e.detail;
				if (source === 'autoplay' || source === 'touch') {
					this.searchVal = this.hotWords[e.detail.current]['val']
				}
			},
			/**显示全部分类*/
			showCategory() {
				this.isCategory = true;
			},
			/*跳转为页面*/
			changeTab(item, index) {
				this.is_label_list_popup = false
				if(this.tabId == item.label_id) return
				this.tabIdIndex = index;
				this.$emit('changeDiy', {label_id:item.label_id, tabIdIndex: index});
			},
			changeRangeAddress(event) {
				let index = event.detail.column;
				let value = event.detail.value;
				let rangeAddress = this.rangeAddress;
				if(index == 0 && value) {
					this.rangeAddressValue = [value, 0, 0];
					this.loadAddress(rangeAddress[index][value].id, 1);
				} else if(index == 1 && value) {
					this.rangeAddressValue[1] = value;
					this.rangeAddressValue[2] = 0;
					this.loadAddress(rangeAddress[index][value].id, 2);
				} else if(index ==2 && value) {
					this.rangeAddressValue[2] = value;
				}
			},
			loadAddress(pid, index = 0){
				let rangeValue = this.rangeValue
				this.is_loading = true;
				getCityV2(pid, {is_home: 1}).then(res=>{
					this.is_loading = false;
					let addressList = res.data;
					addressList.unshift({
						id: '',
						name: '请选择'
					})
					this.$set(this.rangeAddress, index, addressList);
				})
			},
		},
	}
</script>

<style lang="scss" scoped>
.page_count {
		position: relative;
		overflow: hidden;
		.bg-img {
			position: absolute;
			width: 100%;
			height: 100%;
			top: 0;
			/* #ifdef MP || APP-PLUS */
			z-index: -1;
			/* #endif */
			/* #ifdef H5 */
			z-index: 0;
			/* #endif */
			z-index: 0;
			filter: blur(0);
			overflow: hidden;
			img {
				width: 100%;
				height: 100%;
				filter: blur(30rpx);
				transform: scale(1.5);
			}
		}
	}
	.my-main{
		transition: background-color .5s ease;
	}
.swiperTxt {
		width: 300rpx;
		line-height: 64rpx;
		height: 64rpx;
		overflow: hidden;
	}
	.swiperTxt .text {
		width: 480rpx;
	}
	.swiperTxt .text .newsTitle {
		width: 300rpx;
		font-size: 24rpx;
		color: #949683;
	}
	.swiperTxt swiper {
		height: 100%;
	}
	.header {
		z-index: 99;
		position: fixed;
		left: 0;
		width: 100%;
		.btn {
			position: relative;
			margin-left: 30rpx;
			.iconfont {
				font-size: 45rpx;
			}
		}
		.iconnum {
			min-width: 14rpx;
			color: #E93323;
			background: #fff;
			border-radius: 15rpx;
			position: absolute;
			right: -10rpx;
			top: -10rpx;
			font-size: 10px;
			padding: 0 5px;
		}
		.serch-wrapper {
			align-items: center;
			padding: 20rpx 30rpx 20rpx 30rpx;
			.logo {
				width: 133rpx;
				margin-right: 20rpx;
			}
			image {
				width: 133rpx;
				height: 66rpx;
			}
			.box{
				flex: 1;
			}
			.input,.uninput {
				line-height: 64rpx;
				height: 64rpx;
				padding: 0 0 0 30rpx;
				background: rgba(0,0,0,.2);
				color: #fff;
				border-radius: 30rpx;
				font-size: 28rpx;
				z-index: 2;
				position: relative;
				box-sizing: border-box;
				.iconfont {
					position: absolute;
					right: 20rpx;
					top: 0;
					color: #eeeeee;
				}
			}
		}	
	}	
.mp-header {
	z-index: 99;
	// position: fixed;
	left: 0;
	width: 100%;
	.box{
		flex: 1;
	}
	.serch-wrapper {
		display: flex;
		align-items: center;
		padding: 0 30rpx;
		height: 76rpx;			
		.logo {
			min-width: 143rpx;
			height: 64rpx;
			margin-right: 10rpx;
			font-size: 32rpx;
			font-weight: 400;
			color: #000000;
			line-height: 36rpx;
			display: flex;
			align-items: center;
			image {
				width: 40rpx;
				height: 40rpx;
			}
		}
		.logo-img {
			margin-left: 130rpx;
			margin-top: 20rpx;
			image {
				width: 124rpx;
				height: 60rpx;
			}
		}
		
		.input,.uninput {
			display: flex;
			/* #ifdef MP */
			flex: 0;
			/* #endif */
			/* #ifdef APP-PLUS */
			flex: 1;
			/* #endif */
			flex: 1;
			align-items: center;
			height: 64rpx;
			line-height: 64rpx;
			padding: 0 20rpx 0 30rpx;	
			background: #fff;
			border-radius: 100rpx;
			color: #949683;
			font-size: 28rpx;
			position: relative;
			box-sizing: border-box;
			.iconfont {
				margin-right: 20rpx;
				// position: absolute;
				// right: 20rpx;
				// top: 0;
				color: #949683;
			}
		}
		/* #ifdef MP */
		.uninput{
			max-width: 500rpx;
		}
		.input{
			// max-width: 340rpx;
		}
		/* #endif */
		.more_label {
			// width: 110rpx;
			// height: 45rpx;
			// margin-left: 36rpx;
			text-align: center;
			margin-bottom: 10rpx;
			image {
				width: 82rpx;
				height: 82rpx
			}
		}
		.more_label_share {
			background-color: unset;
			color: #000;
		}
	}
}
.tabNav {
	padding-top: 10rpx;
}
.navTabBox {
	color: rgba(255, 255, 255, 1);
	margin-top: 20rpx;
	padding: 28rpx 10rpx 10rpx;
	background-color: #fff;
	z-index: 10;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	display:flex;
	.daohang_icon {
		width: 50rpx;
		height: 50rpx;
		image {
			width: 50rpx;
			height: 50rpx;
		}
	}
	// position: fixed;
	&.isFixed {
		z-index: 30;
		position: fixed;
		left: 0;
		width: 100%;
		/* #ifdef H5 */
		top: 0;
		/* #endif */
	}
	scroll-view{
		width:100%;
		padding-right: 30rpx;
		// height: 96rpx;
		height: 69rpx;
	}
	.click {
		color: white;
	}
	.longTab {
		flex:1;
		overflow-y: auto;
		.longItem{ 
			height: 50upx; 
			display: inline-block;
			line-height: 50upx;
			text-align: center;
			max-width: 160rpx;
			margin-right: 30rpx;
			position: relative;
			.longItem_val {
				font-size: 36rpx;
				font-weight: 500;
				color: #000;
				line-height: 40rpx;
			}
			&:last-child{
				margin-right: 0;
			}
			&.click{
				.longItem_val{
					font-size: 38rpx;
					font-weight: 500;
					color: #FE4504;
					line-height: 36rpx;
					&::after{
						content: '';
						transition: .5s;
						display: inline-block;
						width: 90%;
						height: 15rpx;
						background: url('http://ly.jukee.net/uploads/default/20230629/335f742a6bee3fdbc75d81c86c6ba350.png') center / contain no-repeat;
						position: absolute;
						left: 5%;
						bottom: -10rpx;
					}
				}
			}
		}
	}
}
.scrolled{
	z-index: 5000;
	// position: fixed;
	min-height: 180rpx;
	left: 0;
	top: 0;
	width: 100%;
	background: #FADC00!important;
	transition: background-color .5s ease;
	.longItem,.click,.category text{
		color: #000000!important;
	}
	.navTabBox,.mp-header{
		transition: background-color .5s ease;
	}
	.btn .iconfont{
		color: #333333!important;
	}
	.iconnum{
		background: #333333!important;
	}
	.underline{
		background: #000000!important;
	}
	.click{
		&::after{
			background-color:#000!important;
		}
	}
}
.swiperBg {
	z-index: 1;
	margin-top: 10rpx;
	padding-bottom: 30rpx;
	.colorBg {
		position: absolute;
		left: 0;
		top: 0;
		height: 130rpx;
		width: 100%;
	}
	.page_swiper {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto;
		border-radius: 10rpx;
		overflow-x: hidden;
		z-index: 8;
		padding: 0 10rpx;
		swiper-item{
			border-radius: 10rpx;
		}
		.swiper-item, image, .acea-row.row-between-wrapper {
			width: 100%;
			height:100%;
			margin: 0 auto;
			border-radius: 10rpx;
		}
		swiper{
			width: 100%;
			display: block;
			height: 308rpx;
			&.scalex{
				::v-deep .uni-swiper-slide-frame{
					transform: translate(0,0)!important;
				}			
			}
		}
		image {
			transform: scale(0.93);
			transition: all 0.6s ease;
		}
		swiper-item.active, swiper-item.scalex{
			image {
				transform: scale(1);			
			}
		}
		/*用来包裹所有的小圆点  */
		.dots {
		  width: 156rpx;
		  height: 36rpx;
		  display: flex;
		  flex-direction: row;
		  position: absolute;
		  left: 320rpx;
		  bottom: 0;
		}		
		/*未选中时的小圆点样式 */
		.dot {
		  width: 16rpx;
		  height: 6rpx;
		  border-radius: 6rpx;
		  margin-right: 6rpx;
		  background-color: rgba(255,255,255,.4);
			/*选中以后的小圆点样式  */
			&.active {
			  width: 32rpx;
			  height: 6rpx;
			  background-color: rgba(255,255,255,.4);
			}
		}	
	}
}
::v-deep .dot0 .uni-swiper-dots-horizontal{
	left: 10%;
}
::v-deep .dot1 .uni-swiper-dots-horizontal{
	left: 50%;
}
::v-deep .dot2 .uni-swiper-dots-horizontal{
	left: 90%;
}
/* .label_list {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	.label_list_content {
		width: 100%;
		height: 80vh;
		position: absolute;
		bottom: 0;
		border-radius: 30rpx 30rpx 0 0;
		padding: 30rpx;
		overflow-y: auto;
		background-color: #fff;
		.label_list_title {
			display: flex;
			flex-direction: initial;
			font-size: 36rpx;
			font-weight: bold;
			justify-items: center;
			justify-content: space-between;
			margin: 30rpx 0 20rpx;
			.label_list_close {
				font-size: 46rpx;
			}
		}
		.label_list_data {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 20rpx;
			font-size: 30rpx;
			.label_list_item {
				// border: 1px solid #ccc;
				text-align: center;
				padding: 10rpx;
				border-radius: 32rpx;
				font-size: 26rpx;
				font-weight: 400;
				color: #1C211D;
				line-height: 36rpx;
				background: #F6F7FB;
			}
			.label_list_item_on {
				background: #FFE103;
			}
		}
	}
} */
</style>
